# Use an official Java runtime as a parent image
FROM java:8u92-jre-alpine

# Set the working directory to /data
WORKDIR /data

# 解决 jre-docker 容器中时区同步问题
COPY localtime /etc
COPY timezone /etc

# 解决 jre-docker 容器中文乱码问题
ENV LC_ALL zh_CN.UTF-8

# Run erp-1.5.0.jar when the container launches
CMD ["java","-jar","erp-1.5.0.jar"]
